package com.yyn.educenter.service;

import com.yyn.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yyn.educenter.entity.dto.RegisterDto;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author yyn
 * @since 2023-01-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(UcenterMember ucenterMember);

    boolean register(RegisterDto registerDto);

    UcenterMember getMemberInfo(HttpServletRequest request);

    UcenterMember getUcenterMemberByOpenid(String openid);

    UcenterMember getMemberInfoByToken(String token);
}
